package com.adgox.tiantianbiting.home.index;

import com.adgox.tiantianbiting.base.BasePresenter;
import com.adgox.tiantianbiting.base.BaseView;
import com.adgox.tiantianbiting.bean.MidTabBean;
import com.adgox.tiantianbiting.bean.ProgramBean;
import com.adgox.tiantianbiting.bean.SubProgramBean;
import com.adgox.tiantianbiting.bean.PageBean;
import com.adgox.tiantianbiting.bean.TopBannerBean;

import java.util.List;

/**
 * Created by tang on 2018/12/24.
 */

public class HomeIndexContract {
    interface Presenter extends BasePresenter{

    }

    interface View extends BaseView<Presenter>{

        void onSetTopBanner(List<TopBannerBean> topBannerList);
        void onGetTopBannerFailed(String msg);

        void onSetMidTab(List<MidTabBean> midTabList);
        void onGetMidTabFailed(String msg);

        void onSetProgram(List<ProgramBean> programList);
        void onGetProgramFailed(String msg);

        void onSetHot(PageBean<SubProgramBean> hotList);
        void onGetHotFailed(String msg);
    }
}
